<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich">
<h:body>
	<h:form>
		<rich:panel style="background-color:#F7F7F7;">
			<h:panelGrid columns="2" width="100%">
				<h:graphicImage value="/pages/images/logomarca.png"
					style="position:relative;right:-30%;" />
				<h:outputText value="ValidadorDeContratosWeb"
					style="font-size:30px;font-family:consolas;position:relative;right:-50%;" />
			</h:panelGrid>
		</rich:panel>
		<rich:toolbar height="30px" itemSeparator="grid">
			<rich:toolbarGroup location="left">
				<rich:menuItem label="Início"
					action="/pages/index.xhtml?faces-redirect=true"
					style="width:30px;text-align:left;" />
				<rich:dropDownMenu rendered="#{usuarioMB.usuarioOperacao}">
					<f:facet name="label">
						<h:outputText value="Contratos" />
					</f:facet>
					<rich:menuItem label="Pesquisar"
						action="#{contratoPesquisarMB.redirectPesquisarContrato()}" />
				</rich:dropDownMenu>
				<rich:dropDownMenu rendered="#{usuarioMB.usuarioRelatorios}">
					<f:facet name="label">
						<h:outputText value="Relatórios" />
					</f:facet>
					<rich:menuItem label="Produtividade"
						action="#{relatorioProdutividadeMB.redirectRelatorioProdutividade()}" />
				</rich:dropDownMenu>
			</rich:toolbarGroup>
			<rich:toolbarGroup location="right" itemStyle="text-align:right;">
				<h:outputText value="Usuário: #{usuarioMB.usuario.nome}" />
				<rich:menuItem label="SAIR" action="#{usuarioMB.logOut()}" />
			</rich:toolbarGroup>
		</rich:toolbar>
	</h:form>
</h:body>
</html>